Now you can customize your game!

  • Try adding to the collision() event to make the player sprite do a victory dance.
  • Try setting the ball's y-coordinate to a random number so that the ball can appear anywhere on the stage.
  • When you are done click Submit to complete your Hour of Code! Click Next to apply your skills and build a new game!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)